import service from '@/utils/request'

export const createQmReportAccount = (data) => {
  return service({
    url: '/qmReportAccount/createQmReportAccount',
    method: 'post',
    data
  })
}

export const deleteQmReportAccount = (params) => {
  return service({
    url: '/qmReportAccount/deleteQmReportAccount',
    method: 'delete',
    params
  })
}

export const updateQmReportAccount = (data) => {
  return service({
    url: '/qmReportAccount/updateQmReportAccount',
    method: 'put',
    data
  })
}

export const findQmReportAccount = (params) => {
  return service({
    url: '/qmReportAccount/findQmReportAccount',
    method: 'get',
    params
  })
}

export const getQmReportAccountList = (params) => {
  return service({
    url: '/qmReportAccount/getQmReportAccountList',
    method: 'get',
    params
  })
}
